-
Notifications
You must be signed in to change notification settings - Fork 87
Fix logging documentation #226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4986d4d
to
7b03b22
Compare
Signed-off-by: Jared O'Connell <[email protected]>
7b03b22
to
ff438fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Jared O'Connell <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR corrects and centralizes the logging environment variable documentation by renaming outdated variable names and adding troubleshooting guidance.
- Renamed logging variables in the code docstring (LOG_LEVEL → CONSOLE_LOG_LEVEL, FILE → LOG_FILE, FILE_LEVEL → LOG_FILE_LEVEL).
- Added a note in the logger docstring to run
guidellm config
if environment variables aren’t applied. - Created a new “Logging” section in DEVELOPING.md with the updated variable names and usage instructions.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
src/guidellm/logger.py | Updated env‐var names in docstring and added config validation note |
DEVELOPING.md | Added Logging section with environment variable reference and troubleshooting |
Comments suppressed due to low confidence (2)
src/guidellm/logger.py:19
- Indent this line (and the following continuation line) to match the existing docstring indentation so it renders correctly.
If logging isn't responding to the environment variables, run the `guidellm config`
DEVELOPING.md:279
- [nitpick] Add a period at the end of this bullet to match the punctuation style of the other entries.
- `GUIDELLM__LOGGING__LOG_FILE`: Path to the log file for file logging (default: guidellm.log if log file level set else none)
The logging documentation is buried in a code file, and it's wrong, so this PR corrects that. --------- Signed-off-by: Jared O'Connell <[email protected]> Co-authored-by: Mark Kurtz <[email protected]>
The logging documentation is buried in a code file, and it's wrong, so this PR corrects that. --------- Signed-off-by: Jared O'Connell <[email protected]> Co-authored-by: Mark Kurtz <[email protected]> Signed-off-by: dalthecow <[email protected]>
The logging documentation is buried in a code file, and it's wrong, so this PR corrects that.